Identifying The Relative Maximum And Minimum Values Of A Function